package com.teyao.teyao_back.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.teyao.teyao_back.entity.Dict;
import com.teyao.teyao_back.entity.ResponseMessage;
import com.teyao.teyao_back.entity.Result;


public interface DictService extends IService<Dict> {
    ResponseMessage selectStatus();

    ResponseMessage selectByDesc(String desc);

    ResponseMessage selectClass();
    ResponseMessage selectType();

    //数字字典分页(梁宏宇)
    Result getList(Dict dict , Integer pageSize , long current);
    //数据字典删除功能(梁宏宇)
    ResponseMessage deleteList(Integer dictId);
    //数据字典修改功能
    ResponseMessage updateList(Integer dictId , Dict dict);
    //数据字典添加功能
    ResponseMessage insertList(Dict dict);
}
